<?php
header("content-type:image/jpeg");
$url="https://pics1.baidu.com/feed/f603918fa0ec08fa2ccd9d62b228306a57fbda70.jpeg?token=a25a937474f69ed7ae7dde077ecc56f9&s=E32023E04A0030C440A9C49E030050D3";
//$url="https://pics1.baidu.com/feed/f603918fa0ec08fa2ccd9d62b228306a57fbda70.jpeg?token=a25a937474f69ed7ae7dde077ecc56f9&s=E32023E04A0030C440A9C49E030050D3";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
//curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36");
//curl_setopt($ch, CURLOPT_COOKIE,"PSTM=1586222356; BAIDUID=AF3787A735901EEFD692A727E59BAC44:FG=1; BIDUPSID=3B7D99EBE3D5FB0EC3EFD8E820844869; BDUSS=IxdE9qdlQ3MFcyY21YTDRXUHZxamlaZFAtZXpkMFB4fnFnTUhsVmFVYWx5Yk5lSUFBQUFBJCQAAAAAAAAAAAEAAAAQxLM31-6wrtHuvNGzzwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKU8jF6lPIxeel; BDUSS_BFESS=IxdE9qdlQ3MFcyY21YTDRXUHZxamlaZFAtZXpkMFB4fnFnTUhsVmFVYWx5Yk5lSUFBQUFBJCQAAAAAAAAAAAEAAAAQxLM31-6wrtHuvNGzzwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKU8jF6lPIxeel; BDORZ=B490B5EBF6F3CD402E515D22BCDA1598; BDRCVFR[mkUqnUt8juD]=mk3SLVN4HKm; BDRCVFR[S4-dAuiWMmn]=azWxGYybh8Rfjb3njDznj63g1NxuAT; delPer=0; PSINO=7; MCITY=-261%3A; H_PS_PSSID=32294_1468_32301_32362_32348_32393_32405_32429_32435");
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, "false");
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, "2");
//curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
//curl_setopt($ch, CURLOPT_FOLLOWLOCATION,0);
//curl_setopt($ch, CURLOPT_VERBOSE,1);
//curl_setopt($ch, CURLOPT_HTTPHEADER, array("Host:pics1.baidu.com","Connection:  keep-alive","Accept:  text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9","User-Agent:  Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36","Accept-Language:  en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,ja;q=0.6,bg;q=0.5,zh-TW;q=0.4","DNT:1","Upgrade-Insecure-Requests:1","Sec-Fetch-Site:none","Sec-Fetch-Mode:navigate","Sec-Fetch-Dest:document"));
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
$result=curl_exec($ch);
curl_close($ch);
echo $result;